
import {
    CHANGELOG,
    CHANGEUSER,
    CHANGECURRENTITEM,
    CHANGECURRENTROOM,
    CHANGECURRENTROOMINFO,
} from './constants.js'

export const changeLog = data => ({type: CHANGELOG, data});
export const changeUserInfo = data => ({type: CHANGEUSER, data});
export const changeCurrentItem = data => ({type: CHANGECURRENTITEM, data});
export const changeCurrentRoom = data => ({type: CHANGECURRENTROOM, data});
export const changeCurrentRoomInfo = data => ({type: CHANGECURRENTROOMINFO, data});
